/*
============================================================================
 Name        : ndsApplication.cpp
 Author      : Jian
 Version     :
 Copyright   : GPL V2
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "ndsDocument.h"
#include "ndsApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidndsApp = { 0xe205cdec };

// -----------------------------------------------------------------------------
// CndsApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CndsApplication::CreateDocumentL()
    {
    // Create an nds document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CndsDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CndsApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CndsApplication::AppDllUid() const
    {
    // Return the UID for the nds application
    return KUidndsApp;
    }

// End of File
